From: Joey Hess Date: Mon, 10 Mar 2025 21:35:34 +0000 (-0400) Subject: expand X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~6^2~94 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a9df446d5d3cc4d82ca025b9e8574e194f583659;p=git-annex.git expand --- diff --git a/doc/special_remotes/compute/git-annex-compute-singularity-examples.mdwn b/doc/special_remotes/compute/git-annex-compute-singularity-examples.mdwn index 7613667cdc..48c9f1e052 100644 --- a/doc/special_remotes/compute/git-annex-compute-singularity-examples.mdwn +++ b/doc/special_remotes/compute/git-annex-compute-singularity-examples.mdwn @@ -68,3 +68,13 @@ documentation for details about these options. * `--no-compat` * `--fakeroot` + +For example, passing the --fakeroot option: + + git-annex addcomputed --to=singularity -- --fakeroot debian.sif foo bar -- baz -- sh -c 'cat foo bar > baz' + +Since singularity happens to also accept `--fakeroot=1` and +`--no-compat=1`, it's also possible to set these options by +default in initremote: + + git-annex initremote foo type=compute program=git-annex-compute-singularity passthrough=imageconvert.sif -- --fakeroot=1